﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PowerManager.Framework.ModleBuilder.Attributes
{
    public sealed class TimingAttribute:Attribute
    {
        private TimeSpan _updateInterval;
        public TimingAttribute(Int32 hours,Int32 minutes,Int32 seconds) {
            var timeSpan = new TimeSpan(hours, minutes, seconds);
            _updateInterval = timeSpan;
        }

        public TimeSpan UpdateInterval {
            get { return _updateInterval; }
            set { _updateInterval = value; }
        }
    }
}
